//
// Created by wang on 2021/7/1.
//

#include "ipvx.h"
#include "dev.h"
#include "cmn.h"

ipif_info g_ipif_info;

void ipvx_init(void) {
    get_dev_ip(&g_ipif_info.ip);
}

void ipvx_get_ip_node(ip_node *ip_node_buf) {

    memcpy(ip_node_buf, &g_ipif_info.ip, sizeof(ip_node));
}
